
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-all_icon_classify"></i>
                    <div class="name">all_icon_classify</div>
                    <div class="fontclass">.icon-all_icon_classify</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-all_icon_empty"></i>
                    <div class="name">all_icon_empty</div>
                    <div class="fontclass">.icon-all_icon_empty</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-all_icon_more"></i>
                    <div class="name">all_icon_more</div>
                    <div class="fontclass">.icon-all_icon_more</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-all_icon_good_"></i>
                    <div class="name">all_icon_good_1</div>
                    <div class="fontclass">.icon-all_icon_good_</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-all_icon_write"></i>
                    <div class="name">all_icon_write</div>
                    <div class="fontclass">.icon-all_icon_write</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-all_icon_voice"></i>
                    <div class="name">all_icon_voice</div>
                    <div class="fontclass">.icon-all_icon_voice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-all_icon_search"></i>
                    <div class="name">all_icon_search</div>
                    <div class="fontclass">.icon-all_icon_search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_comment"></i>
                    <div class="name">icon_comment</div>
                    <div class="fontclass">.icon-icon_comment</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-all_icon_share"></i>
                    <div class="name">all_icon_share</div>
                    <div class="fontclass">.icon-all_icon_share</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_company"></i>
                    <div class="name">list_icon_company</div>
                    <div class="fontclass">.icon-list_icon_company</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_refresh"></i>
                    <div class="name">icon_refresh</div>
                    <div class="fontclass">.icon-icon_refresh</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_down"></i>
                    <div class="name">list_icon_down</div>
                    <div class="fontclass">.icon-list_icon_down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_good"></i>
                    <div class="name">list_icon_good</div>
                    <div class="fontclass">.icon-list_icon_good</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_news"></i>
                    <div class="name">list_icon_news</div>
                    <div class="fontclass">.icon-list_icon_news</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_reminding_"></i>
                    <div class="name">list_icon_reminding_</div>
                    <div class="fontclass">.icon-list_icon_reminding_</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pop_icon_comments"></i>
                    <div class="name">pop_icon_comments</div>
                    <div class="fontclass">.icon-pop_icon_comments</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_reminding"></i>
                    <div class="name">list_icon_reminding</div>
                    <div class="fontclass">.icon-list_icon_reminding</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_reach"></i>
                    <div class="name">list_icon_reach</div>
                    <div class="fontclass">.icon-list_icon_reach</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_selected"></i>
                    <div class="name">list_icon_selected</div>
                    <div class="fontclass">.icon-list_icon_selected</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tab_icon_home_sel"></i>
                    <div class="name">tab_icon_home_sel</div>
                    <div class="fontclass">.icon-tab_icon_home_sel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tab_icon_idea_sel"></i>
                    <div class="name">tab_icon_idea_sel</div>
                    <div class="fontclass">.icon-tab_icon_idea_sel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top_icon_list"></i>
                    <div class="name">top_icon_list</div>
                    <div class="fontclass">.icon-top_icon_list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top_icon_search"></i>
                    <div class="name">top_icon_search</div>
                    <div class="fontclass">.icon-top_icon_search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top_icon_close"></i>
                    <div class="name">top_icon_close</div>
                    <div class="fontclass">.icon-top_icon_close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tab_icon_news_nor"></i>
                    <div class="name">tab_icon_news_nor</div>
                    <div class="fontclass">.icon-tab_icon_news_nor</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tab_icon_user_sel"></i>
                    <div class="name">tab_icon_user_sel</div>
                    <div class="fontclass">.icon-tab_icon_user_sel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top_icon_star"></i>
                    <div class="name">top_icon_star</div>
                    <div class="fontclass">.icon-top_icon_star</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top_icon_classificat"></i>
                    <div class="name">top_icon_classificat</div>
                    <div class="fontclass">.icon-top_icon_classificat</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_"></i>
                    <div class="name">list_icon_@</div>
                    <div class="fontclass">.icon-list_icon_</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pop_icon_delete"></i>
                    <div class="name">pop_icon_delete</div>
                    <div class="fontclass">.icon-pop_icon_delete</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top_icon_back"></i>
                    <div class="name">top_icon_back</div>
                    <div class="fontclass">.icon-top_icon_back</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-all_icon_good_1"></i>
                    <div class="name">all_icon_good_1</div>
                    <div class="fontclass">.icon-all_icon_good_1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_good1"></i>
                    <div class="name">list_icon_good</div>
                    <div class="fontclass">.icon-list_icon_good1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_like"></i>
                    <div class="name">list_icon_like</div>
                    <div class="fontclass">.icon-list_icon_like</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_group"></i>
                    <div class="name">list_icon_group</div>
                    <div class="fontclass">.icon-list_icon_group</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_my_favorite_sta"></i>
                    <div class="name">icon_my_favorite_sta</div>
                    <div class="fontclass">.icon-icon_my_favorite_sta</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_my_publish"></i>
                    <div class="name">icon_my_publish</div>
                    <div class="fontclass">.icon-icon_my_publish</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_my_record"></i>
                    <div class="name">icon_my_record</div>
                    <div class="fontclass">.icon-icon_my_record</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_my_reply"></i>
                    <div class="name">icon_my_reply</div>
                    <div class="fontclass">.icon-icon_my_reply</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_my_service"></i>
                    <div class="name">icon_my_service</div>
                    <div class="fontclass">.icon-icon_my_service</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_my_score"></i>
                    <div class="name">icon_my_score</div>
                    <div class="fontclass">.icon-icon_my_score</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_setting"></i>
                    <div class="name">list_icon_setting</div>
                    <div class="fontclass">.icon-list_icon_setting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_succeed"></i>
                    <div class="name">list_icon_succeed</div>
                    <div class="fontclass">.icon-list_icon_succeed</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list_icon_right1"></i>
                    <div class="name">list_icon_right</div>
                    <div class="fontclass">.icon-list_icon_right1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top_icon_star_sel"></i>
                    <div class="name">top_icon_star_sel</div>
                    <div class="fontclass">.icon-top_icon_star_sel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top_icon_add"></i>
                    <div class="name">top_icon_add</div>
                    <div class="fontclass">.icon-top_icon_add</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
